<?
		$vid = intval($_REQUEST['vid']);
		$vacancy = getOneRow($TABLE_PREFIX, "vid=$vid");

		$SMARTY->assign("vacancy", $vacancy);
		$SMARTY->assign("table_prefix", $TABLE_PREFIX);
?>